<template>
  <a-button type="primary" @click="addBlog">新增</a-button>

  <BlogsList />
</template>
<script setup lang="ts">
import BlogsList from './blogList.vue'
import { useRouter } from 'vue-router'
const router = useRouter()
const addBlog = () => {
  router.push('addblog')
}
</script>
